/**
 * 订单列表查询类型
 */
export interface OrderQuery extends PageQuery {
  goodsSn?: string;
  sn?: string;
  sellerId?: string;
  userId?: string;
  outTradeNo?: string;
  mobile?: string;
  orderStatus?: string;
  startTime?: string;
  endTime?: string;
  orderByColumn?: string;
  isAsc?: string;
  compeleStartTime?: string;
  completeEndTime?: string;
}

/**
 * 订单类型
 */
export interface OrderVO {
  id?: number | string;
  sn?: string;
  userId?: number | string;
  agentId?: number | string;
  outTradeNo?: string;
  orderStatus?: string;
  contactsName?: string;
  contactsMobile?: string;
  contactsAddress?: string;
  contactsDetail?: string;
  costPrice?: number;
  flowPrice?: number;
  goodsId?: string | number;
  goodsSn?: string;
  goodsName?: string;
  goodsCover?: string;
  payTime?: string;
  payMethod?: string;
  payMerchant?: string;
  cancelTime?: string;
  completeTime?: string;
  sellerId?: string | number;
  saleRebate?: number;
  directBuyerId?: string | number;
  directBuyerRebate?: number;
  indirectBuyerId?: string | number;
  indirectBuyerRebate?: number;
  directSellerId?: string | number;
  directSellerRebate?: number;
  indirectSellerId?: string | number;
  indirectSellerRebate?: number;
  warehouseCode?: string;
  createTime?: string;
}

/**
 * 订单物流返回类型
 */
export interface logistVO {
  content?: string;
  operationtime?: string;
}

// 抖音订单统计类型
export interface TiktokOrderStatistics {
  orderCount: number;
  orderAmount: number;
  serviceFee: number;
  rebate: number;
}